---@meta _

---[文档](https://warcraft.wiki.gg/wiki/API_GetCurrentMapContinent?oldid=1494833)
---Returns the number of the continent the world map is currently showing.
---@return number continent
function GetCurrentMapContinent() end

---[文档](https://warcraft.wiki.gg/wiki/API_C_Map.GetPlayerMapPosition?oldid=1173304)
---Returns the position of a unit on the current world map.
---@param unit string
---@return number x
---@return number y
function GetPlayerMapPosition(unit) end

---GetWorldLocMapPosition
---@param continent number 
---@param x number
---@param y number
---@return number x
---@return number y
function GetWorldLocMapPosition(continent, x, y) end

--[[
GetCorpseMapPosition()   - Returns the position of the corpse on the current world map.
GetCurrentMapContinent()   - Returns the number of the continent the world map is currently showing.
GetCurrentMapZone()   - Returns the number of the zone the world map is currently showing.
GetMapContinents()   - Returns the continent names.
GetMapInfo()   - Returns the name and size of the current world map.
GetMapLandmarkInfo(landmarkIndex)   - Returns information about a landmark on the current world map.
GetMapOverlayInfo(overlayIndex)   - Returns information about an overlay on the current world map.
GetMapZones(continentIndex)   - Returns the zone names of a continent.
GetNumMapLandmarks()   - Returns the number of landmarks on the current world map.
GetNumMapOverlays()   - Returns the number of overlays on the current world map.
GetPlayerMapPosition("unit")   - Returns the position of a unit on the current world map.
GetWorldLocMapPosition(continent, x, y)
ProcessMapClick(x,y)   - Passes a click to the client, which then calculates if the zone has to be changed.
RequestBattlefieldPositions()   - Request new data for GetBattlefieldPosition().
SetMapToCurrentZone()   - Sets the current world map to the zone the player is presently in.
SetMapZoom(continentIndex[, zoneIndex])   - Sets the current world map to a specific continent and optionally zone.
SetupFullscreenScale()   - Configures scale of full-screen views, such as the world map, to best fill screen.
UI ToggleMinimap - Turns the minimap display on/off.
UI ToggleWorldMap - Turns the world map on/off.
UpdateMapHighlight(x,y)   - Provides map rollover information for highlighting.
CreateWorldMapArrowFrame("frame")   - create a arrow cursor for the player position and orientation.
UpdateWorldMapArrowFrames()   - update the orientation of the arrow cursor based on the current player orientation.
ShowWorldMapArrowFrame(bool)   - show or hide the arrow representing the player.
PositionWorldMapArrowFrame(x,y)   - set the position of the arrow representing the player
]]